home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1811 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: res.com!usenet
  2. From: danlynes@res.com
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Color Text
  5. Date: 17 Jan 1996 01:10:09 GMT
  6. Organization: RES Online
  7. Message-ID: <4dhi9h$4ot@clare.res.com>
  8. References: <4dgrda$dgq@garuda.csulb.edu>
  9. Reply-To: danlynes@res.com
  10. NNTP-Posting-Host: di025.res.com
  11. X-Newsreader: IBM NewsReader/2 v1.2.5
  12.  
  13. In <4dgrda$dgq@garuda.csulb.edu>, reasmey@csulb.edu (Reasmey Ly) writes:
  14.  
  15. >Help! I need to know how to write a program that randomly display color
  16. >on PRESS ANY KEY text. I saw many demos and programs doing that. So
  17. >if anyone knows how to write this small program please post or email me
  18. >the source code or anything that show me how to do it.
  19.  
  20. Might help if we knew what platform you were working on, as every
  21. platform seems to be different, using cprintf or cputs under DOS,
  22. combined with _textcolor, or VioWrAttr and printf under OS/2, or
  23. if you're using UNIX, you're probably using Curses, which uses a
  24. method where it #ifdef and #ifndef's all particulars to each UNIX
  25. platform.
  26.  
  27. +------------------------------------------------------+
  28. !  OS/2         - The Champion of Operating Systems    !
  29. !  Enitharmon/2 - A Powerful BBS Package               !
  30. !  What a great pair!               danlynes@res.com   !
  31. !  www.res.com/~danlynes/index.html                    !
  32. !  www.res.com/~danlynes/Enitharmon!2/index.html       !
  33. !  The Enitharmon Beta project is now under way.       !
  34. !  To subscribe to the mailing list, send e-mail to    !
  35. !  danlynes@res.com or daniel.lynes@ideasnet.com       !
  36. +------------------------------------------------------+
  37.  
  38.